//
//  KLButtonCell.m
//  used
//
//  Created by xalo on 16/7/18.
//  Copyright © 2016年 王凯. All rights reserved.
//

#import "KLButtonCell.h"
#import "KLButton.h"

@interface KLButtonCell ()
@property (weak, nonatomic) IBOutlet KLButton *cateButton;


@end


@implementation KLButtonCell

- (void)setCateBtn:(KLCataList *)cateBtn {
    _cateBtn = cateBtn;
  
    [self.cateButton sd_setImageWithURL:[NSURL URLWithString:cateBtn.hotcategoryimgurl] forState:UIControlStateNormal];
    [self.cateButton setTitle:cateBtn.hotcategoryname forState:UIControlStateNormal];
}

@end
